package factory;

public class DemoFactory {

	public static void main(String[] args) {
		BeanFactory beanFactory = new BeanFactory();
		BeanFinder beanFinder = beanFactory.createBean("sub");
		System.out.println(beanFinder.createBean());
	}

}
